package com.geeguo.ebuilder.client.business.system.authorization.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Set;

@Getter
@Setter
public class LoginVO {

    @Schema(title = "Token")
    private String accessToken;
    @Schema(title = "用户ID")
    private String userId;
    @Schema(title = "用户名")
    private String username;
    @Schema(title = "姓名")
    private String realName;
    @Schema(title = "租户编码")
    private String tenantCode;
    @Schema(title = "角色列表")
    private Set<String> roles;
    @Schema(title = "权限列表")
    private Set<String> permissions;
}